/*--------------------------------------------------------------
# OPTICA — Custom design layer
# Loaded after main.css: adds the "light spectrum" brand identity
# (inspired by the OPTICA prism/rainbow logo) without touching the
# base Logis template.
--------------------------------------------------------------*/
:root {
  --color-accent: #ffce00;
  --color-accent-2: #00c2ff;
  --gradient-spectrum: linear-gradient(90deg, #7b2ff7 0%, #0d42ff 22%, #00c2ff 45%, #00e0b8 62%, #ffce00 80%, #ff5f6d 100%);
}

@keyframes spectrum-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.spectrum-divider {
  height: 4px;
  width: 100%;
  background: var(--gradient-spectrum);
  border: 0;
}

/*--------------------------------------------------------------
# Header / Navbar
--------------------------------------------------------------*/
.header .logo img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .18);
  margin-right: 12px;
}

.header .logo h1 {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.header .logo h1 span {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  font-family: var(--font-default);
}

.header.sticked {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gradient-spectrum);
  opacity: .55;
}

.navbar .get-a-quote,
.navbar .get-a-quote:focus {
  background: var(--gradient-spectrum);
  background-size: 200% auto;
  transition: .4s;
}

.navbar .get-a-quote:hover,
.navbar .get-a-quote:focus:hover {
  background: var(--gradient-spectrum);
  background-size: 200% auto;
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 66, 255, .35);
}

/*--------------------------------------------------------------
# Buttons (reusable across pages)
--------------------------------------------------------------*/
.btn-spectrum {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-spectrum);
  background-size: 200% auto;
  color: #fff !important;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  transition: .4s;
  box-shadow: 0 10px 25px rgba(13, 66, 255, .25);
}

.btn-spectrum:hover {
  background-position: right center;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(13, 66, 255, .35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff !important;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  transition: .3s;
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .18);
  color: #fff !important;
  transform: translateY(-3px);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  min-height: auto;
  padding: 180px 0 100px 0;
  background:
    radial-gradient(1100px 550px at 88% -10%, rgba(123, 47, 247, .35), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(0, 194, 255, .28), transparent 60%),
    var(--color-secondary);
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  top: 36%;
  left: -10%;
  width: 75%;
  height: 6px;
  background: var(--gradient-spectrum);
  filter: blur(1.5px);
  opacity: .3;
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}

.hero-badge i {
  color: var(--color-accent);
}

.hero h2 {
  font-family: var(--font-primary);
}

.text-gradient {
  background: var(--gradient-spectrum);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: spectrum-flow 6s linear infinite;
}

.hero p {
  color: rgba(255, 255, 255, .75);
  max-width: 640px;
}

.hero-cta {
  margin-bottom: 10px;
}

.hero-pillars .pillar-item {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 18px 10px;
  text-align: center;
  transition: .3s;
  height: 100%;
}

.hero-pillars .pillar-item:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-4px);
}

.hero-pillars .pillar-item i {
  font-size: 26px;
  color: var(--color-accent-2);
  margin-bottom: 8px;
  display: block;
}

.hero-pillars .pillar-item p {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
}

.hero-prism {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 auto;
  border-radius: 50%;
  padding: 10px;
  background: var(--gradient-spectrum);
  background-size: 200% 200%;
  animation: spectrum-flow 8s linear infinite;
}

.hero-prism img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--color-secondary);
  display: block;
}

/*--------------------------------------------------------------
# Section headers — pill eyebrow instead of the flat watermark
--------------------------------------------------------------*/
.section-header {
  padding: 10px 0 40px 0;
}

.section-header span {
  position: static;
  display: inline-block;
  background: rgba(13, 66, 255, .08);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
  line-height: normal;
}

.section-header h2 {
  font-size: 34px;
  text-transform: none;
  color: var(--color-secondary);
  padding-bottom: 18px;
}

.section-header h2:after {
  background: var(--gradient-spectrum);
  width: 70px;
  height: 4px;
  border-radius: 4px;
}

/*--------------------------------------------------------------
# Featured services ("À propos" cards)
--------------------------------------------------------------*/
.featured-services .service-item {
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(14, 29, 52, .06);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(14, 29, 52, .06);
  transition: .35s;
}

.featured-services .service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(13, 66, 255, .15);
}

.featured-services .service-item .icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(13, 66, 255, .1), rgba(0, 194, 255, .12));
  margin-right: 0;
  margin-bottom: 18px;
  transition: .3s;
}

.featured-services .service-item .icon i {
  font-size: 26px;
  color: var(--color-primary);
}

.featured-services .service-item:hover .icon {
  background: var(--gradient-spectrum);
}

.featured-services .service-item:hover .icon i {
  color: #fff;
}

/*--------------------------------------------------------------
# Activities gallery + events cards
--------------------------------------------------------------*/
.services .card-img,
#about .card-img {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(14, 29, 52, .12);
}

.services .card-img img,
#about .card-img img {
  transition: transform .5s ease;
}

.services .card-img:hover img,
#about .card-img:hover img {
  transform: scale(1.06);
}

/*--------------------------------------------------------------
# Footer signature
--------------------------------------------------------------*/
.footer {
  position: relative;
}

.footer:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-spectrum);
}
